import instance from './index.js'

const api = {
	getNearByGround(params){
		return instance.post('/admin/upms/ground/nearByGround',params)
	},
	getDicOptions(params){
		return instance.get('/admin/upms/globalDict/listDict',params)
	},
	getAllArea(params){
		return instance.post('/admin/upms/areaData/list',params)
	},
	getStatistics(params){
		return instance.get('/admin/upms/ground/countByDistrict',params)
	},
	getGroundDetail(params){
		return instance.get('/admin/upms/ground/view',params)
	}
}

export default api
